﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="edit_step.aspx.cs" Inherits="AutoFix.edit_step" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="AdditionalPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="MessagePlaceHolder" runat="server">
    Edit the steps by clicking the following step tite links
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
    <div id="pageActionMessage" runat="server"></div>
    <br />
    <div class="section-break">
        <div class="column-section">
            <div class="field-name">Step Name:</div>
            <div class="input-field-holder">
                <asp:TextBox ID="txtStepName" runat="server" CssClass="text-box-large" /><br />
                <asp:RequiredFieldValidator ID="rqdStepName" runat="server" ErrorMessage="Step name is required" ControlToValidate="txtStepName" CssClass="asterisk" />
            </div>
        </div>
        <div class="clear"></div>
        <div class="column-section">
            <div class="field-name">
                <asp:Label ID="lblStepContentTitle" runat="server" Text="Browse Video:" Visible="false" />
            </div>
            <div class="input-field-holder">
                <asp:FileUpload ID="fleUploadVideo" runat="server" CssClass="text-box-large" Visible="false" /><br />
                <asp:TextBox ID="txtContent" runat="server" CssClass="step-text-area" TextMode="MultiLine" Visible="false" /><br />
                <asp:RequiredFieldValidator ID="rqdStepContent" runat="server" ErrorMessage="Step content is required. Do not enter html tags, please enter plain text" ControlToValidate="txtContent" CssClass="asterisk" Visible="false" />
            </div>
        </div>
        <div class="clear"></div>
        <div class="video-holder" runat="server" id="itemHolder" visible="false">
            
                    <video width="320" height="240" controls id="vdoStep" runat="server">
                        Your browser does not support the video tag.
                    </video>
        </div>
        <div class="clear"></div>
        <div class="button-holder">
            <asp:Button ID="btnSaveStep" runat="server" Text="Save Step" CssClass="button" OnClick="btnSaveStep_Click" />
            <div class="clear"></div>
        </div>
    </div>
</asp:Content>
